    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
	  <html xmlns="http://www.w3.org/1999/xhtml">
	    <head>
		    <link rel="stylesheet" type="text/css" href="Styles/spsfbranding.css"/>				
		    		<title>FileIO Permission</title>
				<meta name="Description" content="Adds a FileIOPermission to the project. Controls the ability to access files and folders. " />
		<style type="text/css">

		.OH_TocResize
		{	
			top: 126px;
		}

		</style>
	</head>	
	<body class="primary-mtps-offline-document">
	<table height="93" width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="height:93px; background-image: url('./_img/header_background.jpg'); background-repeat: repeat-x;"><img src="./_img/header_left.jpg" /></td><td valign="right" style="height:93px; background-image: url('./_img/header_background.jpg'); background-repeat: repeat-x; text-align: right;"><img src="./_img/header_right.jpg" /></td></tr></table><div class="OH_outerDiv">
			<div style="WIDTH: 280px" id="LeftNav" class="OH_leftNav">
				<div id="toc">
					<div id="toc_parent">
						<div class="OH_parentTocLinks"><a title="SharePoint Software Factory 2010" href="SPSF_ROOT.html">SharePoint Software Factory 2010</a><br/><a title="Recipe Index" href="SPSF_RECIPES_INDEX.html">Recipe Index</a><br/><a title="SPSF Artefacts" href="SPSF_RECIPES_CATEGORY_ARTEFACTS.html">SPSF Artefacts</a><br/><a title="Security" href="SPSF_RECIPES_CATEGORY_SECURITY.html">Security</a><br/></div></div>					
						<div id="toc_children">
							<div class="OH_selfTocLinks"><a title="Minimal CAS" href="SPSF_RECIPE_MINIMALCAS.html">Minimal CAS</a><br /><a title="Medium CAS" href="SPSF_RECIPE_MEDIUMCAS.html">Medium CAS</a><br /><a title="AspNetHosting Permission" href="SPSF_RECIPE_ASPNETHOSTINGPERMISSION.html">AspNetHosting Permission</a><br /><a title="Reflection Permission" href="SPSF_RECIPE_REFLECTIONPERMISSION.html">Reflection Permission</a><br /><a title="Dns Permission" href="SPSF_RECIPE_DNSPERMISSION.html">Dns Permission</a><br /><a title="Environment Permission" href="SPSF_RECIPE_ENVIRONMENTPERMISSION.html">Environment Permission</a><br /><a title="Printing Permission" href="SPSF_RECIPE_PRINTINGPERMISSION.html">Printing Permission</a><br /><div title="FileIO Permission" class="OH_selectedChild">FileIO Permission</div><a title="WebPart Permission" href="SPSF_RECIPE_WEBPARTPERMISSION.html">WebPart Permission</a><br /><a title="SqlClient Permission" href="SPSF_RECIPE_SQLCLIENTPERMISSION.html">SqlClient Permission</a><br /><a title="Registry Permission" href="SPSF_RECIPE_REGISTRYPERMISSION.html">Registry Permission</a><br /><a title="SharePoint Permission" href="SPSF_RECIPE_SHAREPOINTPERMISSION.html">SharePoint Permission</a><br /><a title="Security Permission" href="SPSF_RECIPE_SECURITYPERMISSION.html">Security Permission</a><br /><a title="SMTP Permission" href="SPSF_RECIPE_SMTPPERMISSION.html">SMTP Permission</a><br /></div></div><div id="toc_siblings"><div class="OH_siblingTocHeader">Related Links</DIV><div class="OH_siblingTocLinks">							<br /></div></div></div></div><div style="LEFT: 279px" id="TocResize" class="OH_TocResize"></div>
				<div class="OH_outerContent">
				  
		<div class="OH_topic">		 
     
		  <div class="OH_title">
			<table>
			  <tbody>
				<tr>
				  <td class="OH_tdTitleColumn">
					<div class="subHeading"><small>SharePoint Software Factory 2010</small></div><br />
					FileIO Permission
				  </td>
				  <td class="OH_tdLogoColumn">
				  				  </td>
				</tr>
			  </tbody>
			</table>
		  </div>
		</div>
		<div id="mainSection">
			<div id="mainBody">            
				<div class="introduction"><p>Adds a FileIOPermission to the project. Controls the ability to access files and folders. </p></div>
				




                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        The recipe adds a line for the permission to the Package.Template.xml (for VS 2010 projects) or to the file CASPolicy.txt (for HIVE projects). Warning: Existing permissions with the same name are replaced completely.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Read</td>
								<td>Optional text. Read access to the contents of the file or access to information about the file, such as its length or last modification time.</td>
							</tr>                
														<tr>
								<td>Write</td>
								<td>Optional text. Write access to the contents of the file or access to change information about the file, such as its name. Also allows for deletion and overwriting.</td>
							</tr>                
														<tr>
								<td>Append</td>
								<td>Optional text. Ability to write to the end of a file only. No ability to read.</td>
							</tr>                
														<tr>
								<td>Path Discovery</td>
								<td>Optional text. Access to the information in the path itself. This helps protect sensitive information in the path, such as user names, as well as information about the directory structure revealed in the path. This value does not grant access to files or folders represented by the path.</td>
							</tr>                
														<tr>
								<td>Unrestricted</td>
								<td>Optional Boolean. If Unrestricted is true, the other settings will be ignored.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     
				</div>			
			</div>
							<div class="OH_feedbacklink"><hr size="1" />SharePoint Software Factory 2010, Version 3.2, see <a href="SPSF_OVERVIEW_800_LICENSE.html">License</a> for more information</div>
				<br />
								</div>
				</div>
					</body>
</html>


